package com.wy.controller;

import com.wy.service.ShopService;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

@Controller
public class ShopController {
    @Resource
    private ShopService shopService;
    @RequestMapping("head")
    public String head(){
        return "head";
    }
    @RequestMapping("brand")
    public String brand(Model model){
        model.addAttribute("dqpage","brand");
        return "brand";
    }
    @RequestMapping("addbrand")
    public String addbrand(Model model){
        return "";
    }
}
